package com.zr.task.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.common.annotation.Excel;
import com.zr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 指挥调度工单对象 eim_command_schedule
 * 
 * @author chengkai
 * @date 2022-10-21
 */
public class EimTaskCommandSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工单id */
    private Long id;

    /** 工单标题 */
    @Excel(name = "工单标题")
    private String title;

    /** 工单类型 */
    @Excel(name = "工单类型")
    private String type;

    /** 工单对象证件号 */
    @Excel(name = "工单对象证件号")
    private String idCard;

    /** 负责小组id */
    @Excel(name = "负责小组id")
    private Long groupId;

    /** 工单具体执行人 */
    @Excel(name = "工单具体执行人")
    private String executor;

    /** 工单执行状态 */
    @Excel(name = "工单执行状态")
    private String status;

    /** 工单内容描述 */
    @Excel(name = "工单内容描述")
    private String description;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date blockingTime;

    /** 实际完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 转运隔离地点 */
    @Excel(name = "转运隔离地点")
    private String quarantineAddress;

    /** 子单详情 */
    @Excel(name = "子单详情")
    private String detailId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setExecutor(String executor) 
    {
        this.executor = executor;
    }

    public String getExecutor() 
    {
        return executor;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setBlockingTime(Date blockingTime) 
    {
        this.blockingTime = blockingTime;
    }

    public Date getBlockingTime() 
    {
        return blockingTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }
    public void setQuarantineAddress(String quarantineAddress) 
    {
        this.quarantineAddress = quarantineAddress;
    }

    public String getQuarantineAddress() 
    {
        return quarantineAddress;
    }

    public String getDetailId() {
        return detailId;
    }

    public void setDetailId(String detailId) {
        this.detailId = detailId;
    }

    @Override
    public String toString() {
        return "EimTaskCommandSchedule{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", idCard='" + idCard + '\'' +
                ", groupId=" + groupId +
                ", executor='" + executor + '\'' +
                ", status='" + status + '\'' +
                ", description='" + description + '\'' +
                ", blockingTime=" + blockingTime +
                ", finishTime=" + finishTime +
                ", quarantineAddress='" + quarantineAddress + '\'' +
                ", detailId='" + detailId + '\'' +
                '}';
    }
}
